酷狗[听].js 861 B

123456789101112131415161718192021222324252627282930313233
  1. var rule = {
  2. title:'酷狗MV',
  3. host:'https://www.kugou.com/',
  4. url:'/yy/rank/home/1-fyclass.html?from=rank',
  5. searchUrl:'',
  6. searchable:2,
  7. quickSearch:0,
  8. class_name:'热门榜单&特色音乐榜&全球榜',
  9. class_url:'6666&33162&4681',
  10. headers:{
  11. 'User-Agent':'PC_UA'
  12. },
  13. timeout:5000,
  14. play_parse:true,
  15. limit:6,
  16. 推荐:'*',
  17. 一级:'.pc_rank_sidebar&&li;a&&title;img&&_src;a&&Text;a&&href',
  18. 二级: {
  19. title: '',
  20. img: 'img&&_src',
  21. desc: '',
  22. content: '',
  23. tabs: '',
  24. lists: 'li a.pc_temp_songname',
  25. list_text: 'body&&Text',
  26. list_url: 'a&&href',
  27. },
  28. 搜索:'js:let d=[];let html=request(input);let list=JSON.parse(html).sun;for(let j=1;j<=list;j++){let t=JSON.parse(request(MY_URL+j));d.push({title:t.name,desc:t.author,img:t.img,url:t.video})}setResult(d)',
  29. }